import request from '@/utils/request'

// 查询自习室座位列表
export function listSeat(query) {
  return request({
    url: '/reservation/seat/list',
    method: 'get',
    params: query
  })
}

// 查询自习室座位详细
export function getSeat(id) {
  return request({
    url: '/reservation/seat/' + id,
    method: 'get'
  })
}